import requests



class OpenGate():

    def __init__(self):
        pass

    def sendRequest(self, ID):
        targetUrl = "http://louis.free.idcfengye.com/Control/Gate/open/"
        data = {"ID":ID, "FromUrl":"https://louisyoung.work"}
        r = requests.post(targetUrl, data=data)


if __name__ == '__main__':
    r = OpenGate()
    r.sendRequest(1)